﻿<%@ Control Language="C#" EnableViewState="true" %>
<%@ Register Assembly="Antu.WebControls" Namespace="Antu.WebControls" TagPrefix="CBW" %>
<asp:Panel ID="panel1" runat="server">

    <script type="text/javascript">
    function displaybutton(){
        document.getElementById("button1").style.display='none';
    }
    function select_project(type) {
        var temp='<%=HttpContext.Current.Request["PID"] %>';
        var url = '../BCSSManage/ZS_SelectUser.aspx?TYPE=' + type + '&PID='+temp+'&rd=' + Math.random();
        var feature = "dialogWidth:" + 1000 + "px;dialogHeight:" + 450 + "px;scroll:yes;status:no;help:no;center:1";
        var project_info = window.showModalDialog(url, '', feature);
        if (project_info != undefined && project_info.length > 1) {
            document.getElementById('<%=产权人.ClientID %>').value = project_info[1];
            document.getElementById('<%=丘号.ClientID %>').value = project_info[2];
            document.getElementById('<%=房屋坐落.ClientID %>').value = project_info[3];
            document.getElementById('<%=房屋权证编号.ClientID %>').value = project_info[4];
            document.getElementById('<%=房屋面积.ClientID %>').value = project_info[5];
            document.getElementById('<%=txtZSPID.ClientID %>').value = project_info[0];
            document.getElementById('<%=承租人.ClientID %>').value = project_info[6];
            document.getElementById('<%=txtZGF所在层次.ClientID %>').value = project_info[7];
            document.getElementById('<%=土地权证编号.ClientID %>').value = project_info[8];
            document.getElementById('<%=土地面积.ClientID %>').value = project_info[9];
            document.getElementById('<%=区位级别.ClientID %>').value = project_info[10];
        }
    }
    function checkNull() {
        var t1 = document.getElementById('<%=产权人.ClientID %>').value;
        if (t1 == null || t1 == "") {
            alert('请点击选择人员进行人员选择！');
            return false;
        } else {
        return true;
        }
    }
    function OpenFileUpload(cqid,cid,pid) {
        window.open('../ZSManage/FileUpload1.aspx?usetype=17&pid='+pid+'&cid='+cid+'&cqid=' + cqid, '文件上传', 'height=600px,width=800px;toolbar =no,menubar=no, scrollbars=yes, resizable=no, location=no, status=yes');
    }
    function ckNumber(obj) {
        var tt = 'ctl00_MainerRegion_ZSPG_ZGFBCJFHAddControl___';
        var t1 = tt + obj;
        var ctrlTemp = document.getElementById(t1);
        if (ctrlTemp != null) {
            if (isNaN(ctrlTemp.value)) {
                alert("不是一个有效的数字，请重新输入 ！");
                ctrlTemp.value = '';
            }
            var tt=ctrlTemp.value;
            ctrlTemp.value=trim(tt);
        }
    }
    function ltrim(s){ 
        return s.replace( /^\s*/,""); 
    } 
    function rtrim(s){ 
        return s.replace( /\s*$/,""); 
    } 
    function trim(s){ 
        return ltrim(rtrim(s)); 
    }
    </script>

    <table width="100%" border="0" cellpadding="0" cellspacing="0" style="background-image: url(<%= Antu.Core.Components.SiteSettings.DefaultSiteSettings.DefaultThemeFolderMapPath %>images/menuthb.png);
        margin-top: 1px">
        <tr>
            <td valign="middle" height="30">
                <font id="Font1" style="font-size: 14px; font-weight: bold; color: #3E7CC3; float: left;
                    color: black; text-indent: 1em;" runat="server">住宅改非经营性房屋征收补偿分户评估表 </font>
            </td>
        </tr>
    </table>
    <table cellpadding="0" cellspacing="0" align="center" class="window_tab_list" style="width: 800px;
        margin: 20px 0 10px 0; line-height: 30px; text-align: center;">
        <tbody>
            <tr>
                <th colspan="15">
                    <label style="font-size: 14px;">
                        住宅改非经营性房屋征收补偿分户评估表</label>
                </th>
            </tr>
            <tr>
                <td>
                    评估时点：
                </td>
                <td colspan="6" align="left">
                    &nbsp;&nbsp;<CBW:MPCalendar ID="txtZGF评估时点" runat="server" />
                </td>
                <td>
                    报告编号：
                </td>
                <td colspan="4">
                    <asp:TextBox ID="txtZGF评估编号" runat="server" />
                </td>
            </tr>
            <tr>
                <td>
                    房屋坐落
                </td>
                <td colspan="6" align="left">
                    &nbsp;&nbsp;<asp:TextBox ID="房屋坐落" runat="server" Width="470" />
                </td>
                <td>
                    产权人
                </td>
                <td>
                    <asp:TextBox ID="产权人" runat="server" Width="80" onfocus="this.blur()" />
                </td>
                <td>
                    承租人
                </td>
                <td>
                    <asp:TextBox ID="承租人" runat="server" Width="80" onfocus="this.blur()" />
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td rowspan="2">
                    权证编号：
                </td>
                <td>
                    房屋
                </td>
                <td colspan="5" align="left">
                    &nbsp;&nbsp;<asp:TextBox ID="房屋权证编号" runat="server" Width="387" onfocus="this.blur()" />
                </td>
                <td rowspan="2">
                    面积(m2)：
                </td>
                <td>
                    房屋
                </td>
                <td>
                    <asp:TextBox ID="房屋面积" runat="server" Width="80" onfocus="this.blur()" />
                </td>
                <td>
                    营业
                </td>
                <td>
                    <asp:TextBox ID="txtZGF营业面积" runat="server" Width="80" />
                </td>
            </tr>
            <tr>
                <td>
                    土地
                </td>
                <td colspan="5" align="left">
                    &nbsp;&nbsp;<asp:TextBox ID="土地权证编号" runat="server" Width="387" onfocus="this.blur()" />
                </td>
                <td>
                    土地
                </td>
                <td colspan="3" align="left">
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:TextBox ID="土地面积" runat="server" onfocus="this.blur()" />
                </td>
            </tr>
            <tr>
                <td>
                    丘号
                </td>
                <td colspan="3" align="left">
                    &nbsp;&nbsp;<asp:TextBox ID="丘号" runat="server" Width="200" onfocus="this.blur()" />
                </td>
                <td colspan="3">
                    区位级别
                </td>
                <td>
                    <asp:TextBox ID="区位级别" runat="server" Width="80" onfocus="this.blur()" />
                </td>
                <td>
                    结构等级
                </td>
                <td>
                    <asp:TextBox ID="txtZGF结构等级" runat="server" Width="80" />
                </td>
                <td colspan="2">
                </td>
            </tr>
            <tr>
                <td>
                    所在层次
                </td>
                <td colspan="3" align="left">
                    &nbsp;&nbsp;<asp:TextBox ID="txtZGF所在层次" runat="server" Width="200" />
                </td>
                <td colspan="3">
                    朝向
                </td>
                <td>
                    <asp:TextBox ID="txtZGF朝向" runat="server" Width="80" />
                </td>
                <td>
                    成套与否
                </td>
                <td>
                    <asp:TextBox ID="txtZGF成套与否" runat="server" Width="80" />
                </td>
                <td colspan="2">
                </td>
            </tr>
            <tr>
                <td>
                    基准价格<br />
                    (元/m2)
                </td>
                <td>
                    结构修正<br />
                    系数
                </td>
                <td>
                    成新修正<br />
                    系数
                </td>
                <td>
                    朝向修正<br />
                    系数
                </td>
                <td>
                    层次修正<br />
                    系数
                </td>
                <td>
                    成套修正<br />
                    系数
                </td>
                <td>
                    区位修正<br />
                    系数
                </td>
                <td>
                    功能修正<br />
                    系数
                </td>
                <td>
                    交易情况<br />
                    系数
                </td>
                <td colspan="3">
                    住宅评估单价(元/m2)
                </td>
            </tr>
            <tr>
                <td>
                    <asp:TextBox ID="txtZGF基准价格" runat="server" Width="80" />
                </td>
                <td>
                    <asp:TextBox ID="txtZGF结构修正系数" runat="server" Width="80" />
                </td>
                <td>
                    <asp:TextBox ID="txtZGF成新修正系数" runat="server" Width="80" />
                </td>
                <td>
                    <asp:TextBox ID="txtZGF朝向修正系数" runat="server" Width="80" />
                </td>
                <td>
                    <asp:TextBox ID="txtZGF层次修正系数" runat="server" Width="80" />
                </td>
                <td>
                    <asp:TextBox ID="txtZGF成套修正系数" runat="server" Width="80" />
                </td>
                <td>
                    <asp:TextBox ID="txtZGF区位修正系数" runat="server" Width="80" />
                </td>
                <td>
                    <asp:TextBox ID="txtZGF功能修正系数" runat="server" Width="80" />
                </td>
                <td>
                    <asp:TextBox ID="txtZGF交易情况系数" runat="server" Width="80" />
                </td>
                <td colspan="3">
                    <asp:TextBox ID="txtZGF住宅评估单价" runat="server" />
                </td>
            </tr>
            <tr>
                <td colspan="12">
                    参照营业性房屋
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    商业街区基准价格<br />
                    (元/m2)
                </td>
                <td colspan="2">
                    正面临街宽度因素<br />
                    修正系数
                </td>
                <td>
                    楼层因素<br />
                    修正系数
                </td>
                <td>
                    进深因素<br />
                    修正系数
                </td>
                <td>
                    年期<br />
                    修正系数
                </td>
                <td>
                    实体因素<br />
                    修正系数
                </td>
                <td>
                    评估单价<br />
                    (元/m2)
                </td>
                <td>
                    比例
                </td>
                <td colspan="2">
                    主改非补偿单价<br />
                    (元/m2)
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:TextBox ID="txtZGF商业街区基准价格" runat="server" />
                </td>
                <td colspan="2">
                    <asp:TextBox ID="txtZGF正面临街宽度因素修正系数" runat="server" />
                </td>
                <td>
                    <asp:TextBox ID="txtZGF楼层因素修正系数" runat="server" Width="80" />
                </td>
                <td>
                    <asp:TextBox ID="txtZGF进深因素修正系数" runat="server" Width="80" />
                </td>
                <td>
                    <asp:TextBox ID="txtZGF年期修正系数" runat="server" Width="80" />
                </td>
                <td>
                    <asp:TextBox ID="txtZGF实体因素修正系数" runat="server" Width="80" />
                </td>
                <td>
                    <asp:TextBox ID="txtZGF评估单价" runat="server" Width="80" />
                </td>
                <td>
                    <asp:TextBox ID="txtZGF比例" runat="server" Width="80" />
                </td>
                <td colspan="2">
                    <asp:TextBox ID="txtZGF住改非补偿单价" runat="server" />
                </td>
            </tr>
            <tr>
                <td rowspan="2">
                    评估总价<br />
                    (元)
                </td>
                <td colspan="2">
                    地大于房
                </td>
                <td rowspan="2" colspan="2">
                    最低总额保证补差<br />
                    (元)
                </td>
                <td rowspan="2" colspan="2">
                    补偿金额合计<br />
                    (元)
                </td>
                <td rowspan="2" colspan="2">
                    产权人补偿款<br />
                    (元)
                </td>
                <td rowspan="2">
                    承租人补偿款<br />
                    (元)
                </td>
                <td colspan="2" rowspan="2">
                    备注
                </td>
            </tr>
            <tr>
                <td>
                    单价<br />
                    (元/m2)
                </td>
                <td>
                    总价<br />
                    (元)
                </td>
            </tr>
            <tr>
                <td>
                    <asp:TextBox ID="txtZGF评估总价" runat="server" Width="80" onchange="ckNumber('txtZGF评估总价')" />
                </td>
                <td>
                    <asp:TextBox ID="txtZGF地大于房单价" runat="server" Width="80" onchange="ckNumber('txtZGF地大于房单价')" />
                </td>
                <td>
                    <asp:TextBox ID="txtZGF地大于房总价" runat="server" Width="80" onchange="ckNumber('txtZGF地大于房总价')" />
                </td>
                <td colspan="2">
                    <asp:TextBox ID="txtZGF最低总额保障补差" runat="server" Width="80" onchange="ckNumber('txtZGF最低总额保障补差')" />
                </td>
                <td colspan="2">
                    <asp:TextBox ID="txtZGF补偿金额合计" runat="server" Width="80" onchange="ckNumber('txtZGF补偿金额合计')" />
                </td>
                <td colspan="2">
                    <asp:TextBox ID="txtZGF产权人补偿款" runat="server" Width="80" onchange="ckNumber('txtZGF产权人补偿款')" />
                </td>
                <td>
                    <asp:TextBox ID="txtZGF承租人补偿款" runat="server" Width="80" onchange="ckNumber('txtZGF承租人补偿款')" />
                </td>
                <td colspan="2">
                    <asp:TextBox ID="txtZGF备注" runat="server" />
                </td>
            </tr>
            <tr>
                <td>
                    评估机构：
                </td>
                <td colspan="7" align="left">
                    &nbsp;&nbsp;<asp:TextBox ID="txtZGF评估机构" runat="server" Width="350" />
                </td>
                <td>
                    评估报告日期：
                </td>
                <td colspan="3">
                    <CBW:MPCalendar ID="txtZGF评估报告日期" runat="server" />
                </td>
            </tr>
            <tr>
                <td>
                    备注:
                </td>
                <td colspan="11" align="left">
                    &nbsp;&nbsp;<asp:TextBox ID="txtZGF备注2" runat="server" Width="100%" TextMode="MultiLine" Height="200px" />
                </td>
            </tr>
            <tr>
                <td colspan="12">
                    1、本次评估目的为为房屋征收部门与被征收人确定被征收房屋价值的补偿提供依据，评估被征收房屋的价值。
                </td>
            </tr>
            <tr>
                <td colspan="12">
                    2、本次评估法规政策依据为《南京市国有土地上房屋征收与补偿办法》、《南京市国有土地上房屋征收与补偿问题若干问题的规定》。
                </td>
            </tr>
            <tr>
                <td colspan="12">
                    3、本次评估技术规范依据为《房地产估价规范》（GB/T50291——1999）、《南京市国有土地上房屋征收评估技术导则》（宁键征字【2012】731号）。
                </td>
            </tr>
            <tr>
                <td colspan="12">
                    4、本次评估结果包含房屋及其占用范围内的国有土地使用权价值，不包含房屋室内装饰装修价格及室外附属物价格。
                </td>
            </tr>
            <tr>
                <td colspan="12">
                    5、被征收人或者房屋征收部门对评估结果有异议的，自收到评估报告之日起10日内，向房地产价格评估机构书面申请复核评估。
                </td>
            </tr>
            <tr>
                <td colspan="12">
                    6、根据《南京市国有土地上房屋征收与补偿若干问题的规定》，住宅房屋改变为经营性用房，经营年限在5年以上的，按不超过营业用房评估结果的50%补偿。
                </td>
            </tr>
            <tr>
                <td colspan="12">
                    <asp:Button ID="btnUpload" runat="server" Text="附件上传" />&nbsp;&nbsp;
                    <input id="button1" type="button" value="选择人员" onclick="select_project('zzfh')" />&nbsp;&nbsp;
                    <asp:Button ID="btn_Insert" runat="server" Text="保存" OnClientClick="return checkNull();" />&nbsp;&nbsp;
                    <input type="button" value="返回" onclick="javascript:window.location.href=('ZSPG_ZGFBCJFHInfo.aspx?PID=<%=HttpContext.Current.Request["PID"] %>');" />
                </td>
            </tr>
        </tbody>
    </table>
    <div style="display: none;">
        <asp:TextBox ID="txtPID" runat="server"></asp:TextBox>
        <asp:TextBox ID="txtID" runat="server"></asp:TextBox>
        <asp:TextBox ID="txtZSPID" runat="server"></asp:TextBox>
        <asp:TextBox ID="txt评估分户类型" runat="server" Text="4"></asp:TextBox>
    </div>
    <CBW:MPPersistence ID="Persistence1" runat="server">
    </CBW:MPPersistence>
</asp:Panel>
